home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
smaltalk
/
manchest.lha
/
MANCHESTER
/
manchester
/
2.2
/
RepeatSwitchController.st
< prev
next >
Wrap
Text File
|
1993-07-24
|
934b
|
36 lines
" NAME RepeatSwitchController
AUTHOR tph@cs.man.ac.uk
FUNCTION auto-repeating inheritor of SwitchController
ST-VERSIONS 2.2
PREREQUISITES
CONFLICTS
DISTRIBUTION world
VERSION 1.1
DATE 15 aug 1987
SUMMARY RepeatSwitchController
can be used instead of SwitchController
(it is a subclass) to provide auto-repeating switches.(2.2).TPH
"!
'From Smalltalk-80, version 2, of April 1, 1983 on 15 August 1987 at 11:12:32 am'!
SwitchController subclass: #RepeatSwitchController
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'Interface-Menus'!
!RepeatSwitchController methodsFor: 'basic control sequence'!
controlTerminate
"Override to ensure that the message is not sent after the button is released."
view indicatorReverse! !
!RepeatSwitchController methodsFor: 'control defaults'!
controlActivity
"Whenever I am active, send the appropriate message."
self sendMessage! !